<template>
  <div class="page__All">
    <slot name="header"></slot>
    <!-- 默认插槽 -->
    <slot></slot>
    <slot name="footer"></slot>
  </div>
</template>
<script setup>
</script>
<style scope>
.page__All {
  box-sizing: border-box;
  min-height: calc(100vh - 70px);
  background-color: #f5f7fa;
  width: 100%;
  padding: 20px;
  position: relative;
}
</style>
